package com.wdl.modules.myhouse.utils.util;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author 昏昏的君
 */
public class ResponseUtil {


    public static void printObj(Object obj,HttpServletResponse response){
        try {
            response.getWriter().println(JsonUtil.obj2String(obj));
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
